package mediator.example;

/**
 * @author cheng:
 * @date 2019/4/25 9:03
 */
public class Test {
    public static void main(String[] args) {
        UnitedNations unitedNations = new UnitedNationSecurityCouncil();
        USA usa = new USA(unitedNations);
        Iraq iraq = new Iraq(unitedNations);

        usa.declare("不准研制核武器， 否则发动战争！", iraq);
        iraq.declare("没有核武器， 也不怕侵略！", usa);
    }
}
